<!-- NAVIGATION -->
<div id="navigation">
    <div class="container">
        <div class="navigation-wrapper">
            <div class="navigation clearfix-normal">

                <ul class="nav" style ="width: 100%;">
                    <!--
                    <li><a href="contact-us.html">Каталог</a></li>
                    <li><a href="contact-us.html">Правила</a></li>
                    <li><a href="contact-us.html">Бронирование</a></li>     
                    -->
                    <?php if (Yii::app()->user->id) { ?>
                        <li style="float: right"><?= CHtml::link('Выход', Yii::app()->createUrl('/user/logout', array())); ?></li>
                        <li style="float: right"><?= CHtml::link('Мои объявления', Yii::app()->createUrl('/flat', array())); ?></li>
                        <li style="float: right"><?= CHtml::link('Мой профиль', Yii::app()->createUrl('/user/profile/edit', array())); ?></li>
                    <?php } ?>
                </ul><!-- /.nav -->

                <?php if (0) { ?>
                    <div class="language-switcher">
                        <div class="current en"><a href="/" lang="en">English</a></div><!-- /.current -->
                        <div class="options">
                            <ul>
                                <li class="fr"><a href="#">Français</a></li>
                                <li class="de"><a href="#">Deutsch</a></li>
                            </ul>
                        </div><!-- /.options -->
                    </div><!-- /.language-switcher -->
                <?php } ?>

                <!-- 
                <form method="get" class="site-search" action="?">
                    <div class="input-append">
                        <input title="Enter the terms you wish to search for." class="search-query span2 form-text" placeholder="Поиск" type="text" name="">
                        <button type="submit" class="btn"><i class="icon-search"></i></button>
                    </div><!-- /.input-append -->
                <!--</form><!-- /.site-search -->


            </div><!-- /.navigation -->
        </div><!-- /.navigation-wrapper -->
    </div><!-- /.container -->
</div><!-- /.navigation -->